package com.shop.loan.mapper;

import com.shop.loan.model.entity.MachineRuleLogByMybatis;
import org.apache.ibatis.annotations.Param;

public interface MachineRuleLogByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MachineRuleLogByMybatis row);

    int insertSelective(MachineRuleLogByMybatis row);

    MachineRuleLogByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MachineRuleLogByMybatis row);

    int updateByPrimaryKeyWithBLOBs(MachineRuleLogByMybatis row);

    int updateByPrimaryKey(MachineRuleLogByMybatis row);

    MachineRuleLogByMybatis selectByOrderId(@Param("orderId")Long orderId);

    MachineRuleLogByMybatis selectByUserId(@Param("userId")Long userId);
}